﻿#include <iostream>
#include"opencv4/opencv2/opencv.hpp"
using namespace std;
using namespace cv;
#define FOCUS_PIXAL 1269
#define BULLET_SPEED 12
class offsetSolve
{
public:
    offsetSolve(Point2f center, double offsetX,double offsetY);
    ~offsetSolve(){}
    void setOffSetX(double X);
    void setOffSetY(double Y);
    Point2f getoffsetArmor(Point2f center);
    Point2f getoffsetBuff(Point2f center);
private:
    Point2f _offset;
    Point2f _centerPoint;
    double _offsetX;
    double _offsetY;
};
